import request from '@/utils/request'


//分类目录全部分类数据接口
export function catalogList(data) {
    return request({
        url: '/mall/catalog/index',
        method: 'post',
        data: data
    })
}

//分分类目录当前分类数据接口
export function catalogCurrent(data) {
    return request({
        url: '/mall/catalog/current',
        method: 'get',
        params: data
    })
}
